/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package TapestryModel;

import org.eclipse.emf.common.util.EList;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Entity</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link TapestryModel.Entity#isSession <em>Session</em>}</li>
 *   <li>{@link TapestryModel.Entity#getAttribute <em>Attribute</em>}</li>
 * </ul>
 * </p>
 *
 * @see TapestryModel.TapestryModelPackage#getEntity()
 * @model
 * @generated
 */
public interface Entity extends TapestryModel.Object {
    /**
     * Returns the value of the '<em><b>Session</b></em>' attribute.
     * The default value is <code>"false"</code>.
     * <!-- begin-user-doc -->
     * <p>
     * If the meaning of the '<em>Session</em>' attribute isn't clear,
     * there really should be more of a description here...
     * </p>
     * <!-- end-user-doc -->
     * @return the value of the '<em>Session</em>' attribute.
     * @see #setSession(boolean)
     * @see TapestryModel.TapestryModelPackage#getEntity_Session()
     * @model default="false" required="true"
     * @generated
     */
    boolean isSession();

    /**
     * Sets the value of the '{@link TapestryModel.Entity#isSession <em>Session</em>}' attribute.
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @param value the new value of the '<em>Session</em>' attribute.
     * @see #isSession()
     * @generated
     */
    void setSession(boolean value);

    /**
     * Returns the value of the '<em><b>Attribute</b></em>' containment reference list.
     * The list contents are of type {@link TapestryModel.EntityData}.
     * It is bidirectional and its opposite is '{@link TapestryModel.EntityData#getOwner <em>Owner</em>}'.
     * <!-- begin-user-doc -->
     * <p>
     * If the meaning of the '<em>Attribute</em>' containment reference list isn't clear,
     * there really should be more of a description here...
     * </p>
     * <!-- end-user-doc -->
     * @return the value of the '<em>Attribute</em>' containment reference list.
     * @see TapestryModel.TapestryModelPackage#getEntity_Attribute()
     * @see TapestryModel.EntityData#getOwner
     * @model opposite="owner" containment="true"
     * @generated
     */
    EList<EntityData> getAttribute();

} // Entity
